﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ATest.Bll;

namespace ATest.Models
{
    /// <summary>
    /// Class to pass data to presentation tier
    /// </summary>
    public class QuestionPresentation
    {
        public QuestionPresentation(Test test, Question question)
        {
            this.Test = test;
            this.Question = question;
        }

        public Test Test { get; private set; }
        public Question Question { get; private set; }
    }

    public class QuestionListPresentation : List<Question>
    {
        public QuestionListPresentation(Test test, List<Question> questions) : base(questions)
        {
            this.Test = test;
        }

        public Test Test { get; private set; }
    }
}
